package com.yellowpage.bigdata.data;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import org.hibernate.annotations.GenericGenerator;

/**
 * NspFatallogRequsetSum entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "NSP_FATALLOG_REQUSET_SUM")
public class NspFatallogRequsetSum implements java.io.Serializable {

	// Fields

	private Integer fatallogRequsetSumId;
	private String logDate;
	private String regionCode;
	private String requestType;
	private String dataFlag;
	private Integer requestCount;
	private Integer createUser;
	private Date createTime;
	private String note;

	// Constructors

	/** default constructor */
	public NspFatallogRequsetSum() {
	}

	/** full constructor */
	public NspFatallogRequsetSum(String logDate, String regionCode,
			String requestType, String dataFlag, Integer requestCount,
			Integer createUser, Date createTime, String note) {
		this.logDate = logDate;
		this.regionCode = regionCode;
		this.requestType = requestType;
		this.dataFlag = dataFlag;
		this.requestCount = requestCount;
		this.createUser = createUser;
		this.createTime = createTime;
		this.note = note;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "identity")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "FATALLOG_REQUSET_SUM_ID", unique = true, nullable = false)
	public Integer getFatallogRequsetSumId() {
		return this.fatallogRequsetSumId;
	}

	public void setFatallogRequsetSumId(Integer fatallogRequsetSumId) {
		this.fatallogRequsetSumId = fatallogRequsetSumId;
	}

	@Column(name = "LOG_DATE", length = 64)
	public String getLogDate() {
		return this.logDate;
	}

	public void setLogDate(String logDate) {
		this.logDate = logDate;
	}

	@Column(name = "REGION_CODE", length = 10)
	public String getRegionCode() {
		return this.regionCode;
	}

	public void setRegionCode(String regionCode) {
		this.regionCode = regionCode;
	}

	@Column(name = "REQUEST_TYPE", length = 10)
	public String getRequestType() {
		return this.requestType;
	}

	public void setRequestType(String requestType) {
		this.requestType = requestType;
	}

	@Column(name = "DATA_FLAG", length = 18)
	public String getDataFlag() {
		return this.dataFlag;
	}

	public void setDataFlag(String dataFlag) {
		this.dataFlag = dataFlag;
	}

	@Column(name = "REQUEST_COUNT")
	public Integer getRequestCount() {
		return this.requestCount;
	}

	public void setRequestCount(Integer requestCount) {
		this.requestCount = requestCount;
	}

	@Column(name = "CREATE_USER")
	public Integer getCreateUser() {
		return this.createUser;
	}

	public void setCreateUser(Integer createUser) {
		this.createUser = createUser;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "CREATE_TIME", length = 0)
	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column(name = "NOTE", length = 128)
	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

}